﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace Esb.Soa.Domain.ServiceHandlers
{
    /// <summary>
    /// Web服务方法
    /// </summary>
    class WSMethod
    {
        /// <summary>
        /// 方法名
        /// </summary>
        public string MethodName { get; set; }

        /// <summary>
        /// 方法
        /// </summary>
        public MethodInfo Method { get; set; }

        /// <summary>
        /// 异步方法
        /// </summary>
        public MethodInfo AsyncMethod { get; set; }

        /// <summary>
        /// 异步方法事件
        /// </summary>
        public EventInfo AsyncEvent { get; set; }

        /// <summary>
        /// 服务实例
        /// </summary>
        public object Class { get; set; }

        /// <summary>
        /// 动态类型
        /// </summary>
        public Type DynamicType { get; set; }
    }
}
